package com.me.videoservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.me.videoservice.model.callback.PublishCallBack;
import com.me.videoservice.model.callback.UnpublishCallBack;
import com.me.videoservice.model.entry.DeviceInfoWithStream;
import com.me.videoservice.model.entry.VideoPublishInfo;
import java.util.List;

public interface VideoPublishService extends IService<VideoPublishInfo> {

  List<DeviceInfoWithStream> queryAll();

  int publish(PublishCallBack callback);

  void unPublish(UnpublishCallBack callback);

}
